import cn.mybatishelper.enums.DataBaseTypeEnum;
import cn.mybatishelper.common.BaseInfoConstants;
import cn.mybatishelper.ui.MybatisHelper;

/**
 * 定制参数版，提前录入参数，不需每次启动都重新一堆烦人的字符
 * User: GameKing
 */
public class UseExampleWithParam {

    public static void main(String[] args) {
        BaseInfoConstants.dataBaseAddr = "jdbc:postgresql://127.0.0.1:5432/test";
        BaseInfoConstants.dataBaseAccount = "test";
        BaseInfoConstants.dataBasePassword = "test";
        BaseInfoConstants.dataBaseSchema = "test";
        BaseInfoConstants.dataBaseType = DataBaseTypeEnum.POSTGRESQL.getDataBaseType();
//        BaseInfoConstants.mapperExtendJavaUrl = "com.oms.tms.mapper.BaseMapper";
        BaseInfoConstants.mapperPackage = "com.oms.tms.mapper";
        BaseInfoConstants.rootDir = "E:/";
        BaseInfoConstants.poPackage = "com.oms.tms.domain";
        BaseInfoConstants.tableNameSeparate = "_";
        BaseInfoConstants.tableNames = "t_fa_user";
        BaseInfoConstants.tableNameRemove = "t_fa_";

        MybatisHelper.execute();
    }
}
